import { instance } from "./axios";

export function AddUser(data){
    return instance({
        url:"addUser",
        method:"post",
        params:data
    })
}

export function DeleteUser(data){
    return instance({
        url:"deleteUser",
        method:"post",
        params:data
    })
}

export function EditUser(data){
    return instance({
        url:"editUser",
        method:"post",
        params:data
    })
}

export function GetAllUser(data){
    return instance({
        url:"getAllUser",
        method:"get",
        params:data
    })
}